package com.xianyun.common.core.domain;

import com.alibaba.cola.dto.Command;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * @author mac_zyj
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ICommand extends Command {
    @NotEmpty(message = "sessionId不能为空")
    private String sessionId;

    /**用户ID 用来 Service 先处理 Token 再给 这个赋值*/
    private Long uid;

    private String token;
}
